Skip to content

Implement additional model config params #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 11, 2025

Conversation

felixarntz
Copy link
Member

This PR adds model config params for:

  • outputFileType (inline or remote)
  • outputMediaOrientation (square, landscape, or portrait)
  • outputMediaAspectRatio (a string like 3:2 or 16:9 etc.)

The outputMediaAspectRatio is a more specific version of outputMediaOrientation, but both are valid to have. Some use-cases may require a specific aspect ratio, while for others purely the orientation (without a precise aspect ratio) may be sufficient.

Aside: Other than common sense for why these are relevant for e.g. image generation, I came across a concrete need while working on #39, specifically in d9b32fc.

@felixarntz felixarntz added the [Type] Enhancement A suggestion for improvement. label Aug 9, 2025
Copy link
Member

@JasonTheAdams JasonTheAdams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Nice additions!

@JasonTheAdams JasonTheAdams merged commit f9c202b into trunk Aug 11, 2025
4 checks passed
@JasonTheAdams JasonTheAdams deleted the enhance/additional-model-config-params branch August 11, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants